package com.shrct.businessprocess.common;

import java.util.Date;

import com.shrct.businessprocess.organization.RCEmployee;
import com.shrct.businessprocess.project.RCProject;
import com.shrct.businessprocess.project.RCProjectCreditStat;
import com.shrct.businessprocess.project.RCProjectCreditStatShouldRequestInfo;

public class RCGeneralCreditData {
	RCProjectCreditStat stat;
	Double rate;
	public RCGeneralCreditData(RCProjectCreditStat stat, Double rate) {
		super();
		this.stat = stat;
		this.rate = rate;
	}
	public RCProject getProject() {
		return stat.getProject();
	}
	public Date getStartDate() {
		return stat.getStartDate();
	}
	public RCEmployee getMajorSaler() {
		return stat.getMajorSaler();
	}
	public Integer getYear() {
		return stat.getYear();
	}
	public Boolean getIsInitializedAsEB() {
		return stat.getIsInitializedAsEB();
	}
	public Boolean getIsCurrentEB() {
		return stat.getIsCurrentEB();
	}
	public Boolean getIsBadProject() {
		return stat.getIsBadProject();
	}
	public Date getModifiedDate() {
		return stat.getModifiedDate();
	}
	public String getModifier() {
		return stat.getModifier();
	}
	public Double getNoInvoiceAmount() {
		return stat.getNoInvoiceAmount();
	}
	public RCProjectCreditStatShouldRequestInfo getShouldRequestInfo() {
		return stat.getShouldRequestInfo();
	}
	public Double getContractAmount() {
		return stat.getContractAmount() * rate / 100;
	}
	public Date getEbCancelDate() {
		return stat.getEbCancelDate();
	}
	public Integer getEbDays() {
		return stat.getEbDays();
	}
	
	
}
